<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item v-for="(item,key) in store.bread" :key="key">{{item}}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script setup lang="ts">
import {rightStore} from "@/stores/rights.ts"
const store=rightStore()
</script>
